#include "mainwindow.h"
#include <QApplication>
#include <QTextCodec>

#include "mkcore/mkcore.h"

int main(int argc, char *argv[])
{

#ifdef QT5
	QStringList paths = QCoreApplication::libraryPaths();
	paths.append(".");
	paths.append("platforms");
	QCoreApplication::setLibraryPaths(paths);
#endif

#ifndef QT5
	QTextCodec::setCodecForCStrings( QTextCodec::codecForName("UTF-8"));
#endif

	QApplication a(argc, argv);
	MainWindow w;
	w.show();

	return a.exec();
}
